package com.yincheng.oes.business.model.dto;

import com.yincheng.oes.business.util.SecurityUtils;

/**
 * @Author: yangsy
 * @Contact: 446948434@qq.com
 * @Date: 2021/8/26 22:58
 * @Version: 1.0
 * @Description: 学员搜索结果
 */
public class StudentSearchResultDTO {

    /**
     * 学员id
     */
    private String userId;

    /**
     * 学员姓名
     */
    private String userName;

    /**
     * 学员账号
     */
    private String account;

    @Override
    public String toString() {
        return "StudentSearchResultDTO{" +
                "userId='" + userId + '\'' +
                ", userName='" + userName + '\'' +
                ", account='" + account + '\'' +
                '}';
    }

    public String getAccount() {

        return SecurityUtils.phoneDesensitization(account);
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

}
